@charset "UTF-8";
@import "_reset.scss";
body {
    background-color: #ea1b15;
    #web {
        width: 100vw;
        .banner {
            width: 100vw;
            font-size: 0;
            img {
                width: 100%;
            }
        }
        .main {
            width: 90vw;
            padding-top: 6vw;
            padding-bottom: 6vw;
            margin-left: 5vw;
            margin-top: 2vw;
            margin-bottom: 10vw;
            border: 0vw solid transparent;
            border-image: url("../images/background.png") 1 1 round;
            -webkit-border-image: url("../images/background.png") 1 1 round;
            -o-border-image: url("../images/background.png") 1 1 round;
            -moz-border-image: url("../images/background.png") 1 1 round;
            .main-card {
                width: 78vw;
                background-color: #fff;
                margin: 0 auto;
                border-bottom: 4vw solid #851006;
                box-sizing: content-box;
                position: relative;
                .card-img {
                    display: block;
                    width: 78vw;
                    height: 63vw;
                    img {
                        width: 72.8vw;
                        margin: 2vw 2.65vw;
                    }
                }
                .card-before {
                    width: 78vw;
                    margin-top: -19.9vw;
                    img {
                        width: 100%;
                    }
                }
                .card-button {
                    display: block;
                    width: 16.4vw;
                    margin: -20vw auto 0 auto;
                    animation: scalebutton 0.5s linear infinite alternate;
                    img {
                        width: 100%;
                    }
                }
                .card-title {
                    font-size: 3vw;
                    position: absolute;
                    top: 36vw;
                    left: 4vw;
                    color: #ea1b15;
                    width: 70vw;
                    text-align: center;
                }
                @keyframes scalebutton {
                    from {
                        transform: scale(1);
                    }
                    to {
                        transform: scale(1.1)
                    }
                }
                &:last-child {
                    border-bottom: 0;
                }
            }
        }
        .sash {
            width: 100vw;
            height: 100vh;
            position: fixed;
            top: 0;
            left: 0;
            background-color: rgba(0, 0, 0, .6);
            .close {
                width: 8vw;
                height: 8vw;
                position: fixed;
                right: 11vw;
                top: 16vw;
                animation: closeOpacity 2s linear 1;
                z-index: 99;
                img {
                    width: 100%;
                }
            }
            .sash-content {
                animation: sash-down 0.5s linear 1;
                position: relative;
                .rope {
                    width: 0.7vw;
                    height: 60vw;
                    background-color: #fec9ac;
                    margin: 0 auto;
                }
                .today {
                    width: 45.6vw;
                    margin: 0 auto;
                    margin-top: -20vw;
                    img {
                        width: 100%;
                    }
                }
                .coin {
                    width: 83.4vw;
                    margin: 0 auto;
                    margin-top: -26vw;
                    img {
                        width: 100%;
                    }
                }
                .light {
                    width: 100vw;
                    position: absolute;
                    top: 30vw;
                    left: 0;
                    z-index: -1;
                    animation: rotateL 3s linear infinite normal;
                    img {
                        width: 100%;
                    }
                }
                @keyframes rotateL {
                    from {
                        transform: rotate(0);
                    }
                    to {
                        transform: rotate(360deg);
                    }
                }
                .sash-bottom {
                    width: 77.3vw;
                    margin: 0 auto;
                    margin-top: -3vw;
                    img {
                        width: 100%;
                    }
                }
                .sash-up {
                    position: absolute;
                    top: 126vw;
                    left: 15vw;
                    animation: sashUp 0.5s linear 0.4s;
                    .paper {
                        width: 69.7vw;
                        margin: 0 auto;
                        margin-top: -73vw;
                        img {
                            width: 100%;
                        }
                    }
                    .paper-img {
                        width: 64.8vw;
                        margin: 0 auto;
                        margin-top: -60vw;
                        img {
                            width: 100%;
                        }
                    }
                    .paper-title {
                        width: 60vw;
                        margin: 2vw auto;
                        text-align: center;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        color: #eb2918;
                        font-weight: bold;
                    }
                }
                @keyframes sashUp {
                    from {
                        top: 155vw;
                    }
                    to {
                        top: 126vw;
                    }
                }
                .before {
                    width: 77.6vw;
                    position: absolute;
                    top: 88vw;
                    left: 11.2vw;
                    img {
                        width: 100%;
                    }
                }
                .submit {
                    width: 22vw;
                    position: absolute;
                    top: 96vw;
                    left: 39vw;
                    img {
                        width: 100%;
                    }
                }
            }
            @keyframes sash-down {
                from {
                    transform: translateY(-125%);
                }
                to {
                    transform: translateY(0%);
                }
            }
            @keyframes closeOpacity {
                from {
                    opacity: 0;
                }
                to {
                    opacity: 1;
                }
            }
        }
    }
}